package Spring5.第二章.demo2_5_代理模式.动态代理.手动实现JDK动态代理;

/**
 * 用来生成源代码的工具
 */
public class GPProxy {
    public static final String ln = "\r\n";

    public static Object newProxyInstance(GPClassLoager classLoager, Class<?>[] interfaces, GPInvocationHandler h) {
        try {
            // 动态生成源代码.java文件
            String src = generateSrc(interfaces);
        }catch (Exception e){
            e.printStackTrace();
        }
        return null;
    }

    private static String generateSrc(Class<?>[] interfaces) {
        return null;
    }
}
